package com.dt76.smallloanbackenduser.pojo.etao;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class SLog {
    private Integer logId;
    private Integer logType;
    private String logColumns;
    private Date logTime;
    //add 是否异常:1.是,0,不是,默认值
    private int isExp;
    //add 异常的内容
    private String expContent;
    //add
    private int currentUser;
    private String currentUserName;
    private String type;
    private String timeStr;

    public String getTimeStr() {
        return timeStr;
    }

    public void setTimeStr(String timeStr) {
        this.timeStr = timeStr;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCurrentUserName() {
        return currentUserName;
    }

    public void setCurrentUserName(String currentUserName) {
        this.currentUserName = currentUserName;
    }

    public int getCurrentUser() {
        return currentUser;
    }
    
    public void setCurrentUser(int currentUser) {
        this.currentUser = currentUser;
    }
    
    public int getIsExp() {
        return isExp;
    }
    
    public void setIsExp(int isExp) {
        this.isExp = isExp;
    }
    
    public String getExpContent() {
        return expContent;
    }
    
    public void setExpContent(String expContent) {
        this.expContent = expContent;
    }
    //正常
    public SLog(String logColumns, Integer logType) {
        this.logType = logType;
        this.logColumns = logColumns;
    }
    //异常
    public SLog(int isExp, String expContent) {
        this.isExp = isExp;
        this.expContent = expContent;
    }
    
    public SLog() {
        super();
    }

    public Integer getLogId() {
        return logId;
    }

    public void setLogId(Integer logId) {
        this.logId = logId;
    }

    public Integer getLogType() {
        return logType;
    }

    public void setLogType(Integer logType) {
        this.logType = logType;
    }

    public String getLogColumns() {
        return logColumns;
    }

    public void setLogColumns(String logColumns) {
        this.logColumns = logColumns == null ? null : logColumns.trim();
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}